Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : p%1Ch%92%1F%F3%23p%CA%EA%AA%C1z%5E%0A%25%EB%C8%A8%3A
#include <asm/current.h>
#include <asm/hcalls.h>
#include "rtas.h"
+#include "exceptions.h"
#define next_arg(fmt, args) ({ \
unsigned long __arg; \
} \
__arg; \
})
-extern void idle_loop(void);
unsigned long hypercall_create_continuation(unsigned int op,
const char *format, ...)
static void machine_fail(const char *s)
{
printf("%s failed, manual powercycle required!\n", s);
- while(1);
+ for (;;)
+ sleep();
}
void machine_halt(void)
{
}
-extern void sleep(void);
static void safe_halt(void)
{
int cpu = smp_processor_id();
struct cpu_user_regs *regs, unsigned long cookie);
extern long xen_hvcall_jump(struct cpu_user_regs *regs, ulong address);
+
extern void *mambo_memset(void *, int, ulong);
extern void *mambo_memcpy(void *, const void *, ulong);
+extern void sleep(void);
+extern void idle_loop(void);
extern ulong *__hypercall_table[];
schedulers_start();
}
-extern void idle_loop(void);
-
void startup_cpu_idle_loop(void)
{
struct vcpu *v = current;